package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class RegularViewSpecification implements ViewSpecification {

    private int beginIndex;
    private int endIndex;
    private IdentifierList viewColumnList;

    public RegularViewSpecification(int beginIndex,
                                    int endIndex,
                                    IdentifierList viewColumnList) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.viewColumnList = viewColumnList;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public IdentifierList getViewColumnList() {
        return viewColumnList;
    }

}
